package cn.iocoder.yudao.module.book.controller.app.bookcase.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 书架新增/修改 Request VO")
@Data
public class AppBookshelfSaveReqVO {

    @Schema(description = "书架id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14614")
    private Integer bookshelfId;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17893")
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @Schema(description = "绘本集id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6475")
    @NotNull(message = "绘本集id不能为空")
    private Integer collectionId;

//    @Schema(description = "绘本id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26342")
//    @NotNull(message = "绘本id不能为空")
//    private Integer bookId;

}